package com.gy.def.viewobject;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * http请求返回的最外层对象
 */
@Data
@ApiModel(value = "返回类")
public class ResultVo<T> {

  // 状态码
  @ApiModelProperty(value = "状态码",example = "0")
  private Integer code;

  // 状态
  @ApiModelProperty(value = "状态",example = "成功")
  private String msg;

  // 内容
  @ApiModelProperty(value = "内容",example = "-")
  private T data;
}
